package com.lion.ball.app.pages.tabs.main.mine;

import com.chris.libs.base.x.mvpp.mvpp.DefaultPresenter;

import javax.inject.Inject;

/**
 * @author Chris chan
 * Create on： 2025/2/1 19:36
 * Use for: 逻辑处理类
 * Explain:
 */
public class MinePresenter extends DefaultPresenter<MineContract.UIView>
        implements MineContract.Presenter {
    private MineViewModel viewModel;

    @Inject
    public MinePresenter() {
    }

    public void setViewModel(MineViewModel viewModel) {
        this.viewModel = viewModel;
    }

    @Override
    public void requestAndUpdate() {
        this.viewModel.setText("自定义控件");
    }

}
